<%-- 
    Document   : AdminProduct
    Created on : Dec 21, 2013, 11:32:13 AM
    Author     : lyhoang
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@page language="java" %>


<div class="sumup-col-main-left">
    <h1 class="page-title">Quan Ly Tai Khoan</h1>
    <table class="fixed" id="rounded-corner" summary="2007 Major IT Companies' Profit">
    <thead>
    	<tr>
            <th scope="col" class="rounded-company"><input type="checkbox" name="" /></th>
            <th scope="col" class="rounded" width="10%" >ID</th>
            <th scope="col" class="rounded"  >User</th>
            <th scope="col" class="rounded"  >Role</th>
            <th scope="col" class="rounded"  >IsDeleted</th>
            <th scope="col" class="rounded" width="50px" >Edit</th>
            <th scope="col" class="rounded-q4" >Delete</th>
        </tr>
    </thead>
       
    <tbody>
    <c:forEach var="p" items="${accounts}">
     	<tr>
            <td><input type="checkbox" name="" /></td>
            <td>${p.idaccount}</td>
            <td>${p.username}</td>
            <td>${p.accountRole.role}</td>
            <td>${p.isdeleted}</td>
            <td><a href="admineditaccount.do?id=${p.username}"><img src="<c:url value="/resources/images/user_edit.png" />" alt="" title="" border="0" /></a></td>
            <td><a href="admindeleteaccount.do?id=${p.idaccount}&action=Delete" class="ask"><img src="<c:url value="/resources/images/trash.png" />" alt="" title="" border="0" /></a></td>
        </tr>   
    </c:forEach>
<!--     	<tr> -->
<!--             <td><input type="checkbox" name="" /></td> -->
<!--             <td>ID</td> -->
<!--             <td>User</td> -->
<!--             <td>Role</td> -->
<%--             <td><a href="#"><img src="<c:url value="/resources/images/user_edit.png" />" alt="" title="" border="0" /></a></td> --%>
<%--             <td><a href="#" class="ask"><img src="<c:url value="/resources/images/trash.png" />" alt="" title="" border="0" /></a></td> --%>
<!--         </tr> -->
    </tbody>
</table>
    <a href="#" class="bt_green">
	    <span class="bt_green_lft"></span>
	    <strong>Add new item</strong>
	    <span class="bt_green_r"></span>
    </a>
    <div class="pagination">
        <span class="disabled"><< prev</span>
        <span class="current">1</span>
        <a href="">2</a>
        <a href="">3</a>
        <a href="">4</a>
        <a href="">5</a>…
        <a href="">10</a>
        <a href="">11</a>
        <a href="">next >></a>
        </div> 
</div>